<?php
declare (strict_types = 1);

namespace app\common\controller;

use hg\apidoc\annotation\Param;
use hg\apidoc\annotation\Header;
use hg\apidoc\annotation\Returned;

class Definitions
{
    /**
     * 获取分页数据列表的参数
     * @param("pageIndex",type="int",require=true,default="1",desc="查询页数")
     * @param("pageSize",type="int",require=true,default="20",desc="查询条数")
     * @returned("total",type="int",desc="总条数")
     */
    public function pagingParam(){}

    /**
     * 分页数据列表的返回结果
     * @Returned("total", type="int", desc="总数")
     * @Returned("page", type="int", desc="页码")
     */
    public function pagingReturn(){}

    /**
     * @Header("e-token",type="string",require=true,desc="身份票据")
     */
    public function auth(){}

}
